package com.lonely.purchase.domain.dto.materialpurchase;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 执行物料采购实体
 *
 * @author fzzf
 */
@Data
public class GoMaterialPurchaseDTO implements Serializable {

    /**
     * 主键id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 采购价
     */
    @NotBlank(message = "采购价不能为空")
    private String purchasePrice;

    /**
     * 采购量
     */
    @NotBlank(message = "采购量不能为空")
    private String purchaseVolume;

    /**
     * 占用数
     */
    private String occupancyQuantity;
}
